package ADT;
public class Process {

	private String name;
	private int arrival;
	private int run;
	private String user;

	public Process(String name, int arrival, int run, String user) {
		this.name = name;
		this.arrival = arrival;
		this.run = run;
		this.user = user;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public void decRun() {
		this.run--;
	}

	public int getArrival() {
		return arrival;
	}

	public void setArrival(int arrival) {
		this.arrival = arrival;
	}

	public int getRun() {
		return run;
	}

	public void setRun(int run) {
		this.run = run;
	}

}
